package com.farm.users.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.farm.common.annotation.Excel;
import com.farm.common.core.domain.BaseEntity;

/**
 * 用户管理对象 user
 * 
 * @author yd
 * @date 2024-03-17
 */
public class User extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户编号 */
    private Long userId;

    /** 个人照 */
    @Excel(name = "个人照")
    private String userShow;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 用户性别 */
    @Excel(name = "用户性别")
    private String userSex;

    /** 用户电话 */
    @Excel(name = "用户电话")
    private String userPhone;

    /** 用户密码 */
    @Excel(name = "用户密码")
    private String userPassword;

    /** 用户职能 */
    @Excel(name = "用户职能")
    private String userJob;

    /** 备注 */
    @Excel(name = "备注")
    private String userNotes;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserShow(String userShow) 
    {
        this.userShow = userShow;
    }

    public String getUserShow() 
    {
        return userShow;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserSex(String userSex) 
    {
        this.userSex = userSex;
    }

    public String getUserSex() 
    {
        return userSex;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setUserPassword(String userPassword) 
    {
        this.userPassword = userPassword;
    }

    public String getUserPassword() 
    {
        return userPassword;
    }
    public void setUserJob(String userJob) 
    {
        this.userJob = userJob;
    }

    public String getUserJob() 
    {
        return userJob;
    }
    public void setUserNotes(String userNotes) 
    {
        this.userNotes = userNotes;
    }

    public String getUserNotes() 
    {
        return userNotes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userShow", getUserShow())
            .append("userName", getUserName())
            .append("userSex", getUserSex())
            .append("userPhone", getUserPhone())
            .append("userPassword", getUserPassword())
            .append("userJob", getUserJob())
            .append("userNotes", getUserNotes())
            .toString();
    }
}
